/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2022-04-07     donghaomin       the first version
 */
#ifndef APPLICATIONS_D_VERSION_H_
#define APPLICATIONS_D_VERSION_H_

#include <stdio.h>

#define VERINFO_ADDR_BASE  (0x0801fc00) //存放FLASH的地址
#define DVERINFO_ADDR_BASE (0x08007800) //存放FLASH的地址
const char Software_Ver[] __attribute__((section(".d_version_1"))) = "Software: 1.0.0";
//__attribute__((section(".SE_CallGate_Fun"))) uint32_t call_gate(Callgate_Func_Type_t
//ftype, void *param)
//const char Compiler_Date[] __attribute__((at(VERINFO_ADDR_BASE + 0x40))) = "Date: "__DATE__;
//const char Compiler_Time[] __attribute__((at(VERINFO_ADDR_BASE + 0x60))) = "Time: "__TIME__;


#endif /* APPLICATIONS_D_VERSION_H_ */
